package org.jeecg.modules.scm.entity;

import com.baomidou.mybatisplus.annotation.IdType;
import com.baomidou.mybatisplus.annotation.TableId;
import com.baomidou.mybatisplus.annotation.TableName;
import com.fasterxml.jackson.annotation.JsonFormat;
import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import lombok.Data;
import lombok.EqualsAndHashCode;
import lombok.experimental.Accessors;
import org.jeecg.common.aspect.EnableDict;
import org.jeecg.common.aspect.annotation.Dict;
import org.jeecgframework.poi.excel.annotation.Excel;
import org.springframework.format.annotation.DateTimeFormat;

import java.io.Serializable;
import java.util.Date;

/**
 * @Description: scm_cus_info
 * @Author: jeecg-boot
 * @Date:   2021-10-22
 * @Version: V1.0
 */
@Data
@TableName("scm_cus_info")
@Accessors(chain = true)
@EqualsAndHashCode(callSuper = false)
@ApiModel(value="scm_cus_info对象", description="scm_cus_info")
public class ScmCusInfo implements Serializable , EnableDict {
    private static final long serialVersionUID = 1L;

	/**客户号*/
	@Excel(name = "客户号", width = 15)
    @ApiModelProperty(value = "客户号")
    @TableId(type = IdType.AUTO)
    private Integer cusNo;
	/**客户名称*/
	@Excel(name = "客户名称", width = 15)
    @ApiModelProperty(value = "客户名称")
    private String cusName;
	/**证件类型*/
	@Excel(name = "证件类型", width = 15)
    @ApiModelProperty(value = "证件类型")
    @Dict(dicCode = "certificate_type")
    private String certificateType;
	/**证件号码*/
	@Excel(name = "证件号码", width = 15)
    @ApiModelProperty(value = "证件号码")
    private String certificateNo;
	/**客户类型*/
	@Excel(name = "客户类型", width = 15)
    @ApiModelProperty(value = "客户类型")
    @Dict(dicCode = "cus_type")
    private String cusType;
	/**经济性质*/
	@Excel(name = "经济性质", width = 15)
    @ApiModelProperty(value = "经济性质")
    @Dict(dicCode = "economic_nature")
    private String economicNature;
	/**注册日期*/
	@Excel(name = "注册日期", width = 15, format = "yyyy-MM-dd")
    @JsonFormat(timezone = "GMT+8",pattern = "yyyy-MM-dd")
    @DateTimeFormat(pattern="yyyy-MM-dd")
    @ApiModelProperty(value = "注册日期")
    private Date registDate;
	/**注册期限*/
	@Excel(name = "注册期限", width = 15, format = "yyyy-MM-dd")
    @JsonFormat(timezone = "GMT+8",pattern = "yyyy-MM-dd")
    @DateTimeFormat(pattern="yyyy-MM-dd")
    @ApiModelProperty(value = "注册期限")
    private Date registDdl;
	/**经营范围*/
	@Excel(name = "经营范围", width = 15)
    @ApiModelProperty(value = "经营范围")
    private String businessScope;
	/**	兼营业范围*/
	@Excel(name = "	兼营业范围", width = 15)
    @ApiModelProperty(value = "	兼营业范围")
    private String otherScope;
	/**企业规模*/
	@Excel(name = "企业规模", width = 15)
    @ApiModelProperty(value = "企业规模")
    @Dict(dicCode = "enterprise_scale")
    private String enterpriseScale;
	/**所在地*/
	@Excel(name = "所在地", width = 15)
    @ApiModelProperty(value = "所在地")
    private String location;
	/**行业代码*/
	@Excel(name = "行业代码", width = 15)
    @ApiModelProperty(value = "行业代码")
    @Dict(dictTable = "scm_industry_type",dicText = "industry_name",dicCode = "id")
    private String industryCode;
	/**境内外标志 1-境内 2-境外*/
	@Excel(name = "境内外标志 1-境内 2-境外", width = 15)
    @ApiModelProperty(value = "境内外标志 1-境内 2-境外")
    @Dict(dicCode = "is_domestic")
    private String isDomestic;
	/**国籍*/
	@Excel(name = "国籍", width = 15)
    @ApiModelProperty(value = "国籍")
    @Dict(dicCode = "nationality")
    private String nationality;
	/**主要投资方*/
	@Excel(name = "主要投资方", width = 15)
    @ApiModelProperty(value = "主要投资方")
    private String majorInvestor;
	/**法人姓名*/
	@Excel(name = "法人姓名", width = 15)
    @ApiModelProperty(value = "法人姓名")
    private String legalPerson;
	/**联系人姓名*/
	@Excel(name = "联系人姓名", width = 15)
    @ApiModelProperty(value = "联系人姓名")
    private String contactName;
	/**联系人电话*/
	@Excel(name = "联系人电话", width = 15)
    @ApiModelProperty(value = "联系人电话")
    private String contactPhone;
	/**上市公司标识 0-否 1-是*/
	@Excel(name = "上市公司标识 0-否 1-是", width = 15)
    @ApiModelProperty(value = "上市公司标识 0-否 1-是")
    @Dict(dicCode = "usual_dict")
    private String isListedCompany;
	/**员工数*/
	@Excel(name = "员工数", width = 15)
    @ApiModelProperty(value = "员工数")
    private Integer staffNum;
	/**年销售额*/
	@Excel(name = "年销售额", width = 15)
    @ApiModelProperty(value = "年销售额")
    private String annualSales;
	/**是否有进出口业务经营权 0-否 1-是*/
	@Excel(name = "是否有进出口业务经营权 0-否 1-是", width = 15)
    @ApiModelProperty(value = "是否有进出口业务经营权 0-否 1-是")
    @Dict(dicCode = "usual_dict")
    private String isExternalTrade;
	/**客户状态 1-正常 2-注销*/
	@Excel(name = "客户状态 1-正常 2-注销", width = 15)
    @ApiModelProperty(value = "客户状态 1-正常 2-注销")
    @Dict(dicCode = "cus_status")
    private String cusState;
    /**建立日期*/
    @Excel(name = "生效日期", width = 15, format = "yyyy-MM-dd")
    @JsonFormat(timezone = "GMT+8",pattern = "yyyy-MM-dd")
    @DateTimeFormat(pattern="yyyy-MM-dd")
    @ApiModelProperty(value = "生效日期")
    private Date createTime;
    /**最后修改日期*/
    @Excel(name = "最后修改日期", width = 15, format = "yyyy-MM-dd")
    @JsonFormat(timezone = "GMT+8",pattern = "yyyy-MM-dd")
    @DateTimeFormat(pattern="yyyy-MM-dd")
    @ApiModelProperty(value = "最后修改日期")
    private Date updateTime;
	/**平台所属机构*/
	@Excel(name = "平台所属机构", width = 15)
    @ApiModelProperty(value = "平台所属机构")
    private String platformAffiliation;
	/**平台客户经理*/
	@Excel(name = "平台客户经理", width = 15)
    @ApiModelProperty(value = "平台客户经理")
    private String cusManage;
    /**附件*/
    @Excel(name = "附件", width = 15)
    @ApiModelProperty(value = "附件")
    private String attachment;

	/**备注*/
    @Excel(name = "备注", width = 15)
    @ApiModelProperty(value = "备注")
    private String note;


}
/*
* /root/miniconda3/
* .bashrc
* */
